import Vue from 'vue'
import Router from '../plugins/router'
// import Router from 'vue-router'
import Home from '../pages/Home.vue'


Vue.use(Router)

const router = new Router({
    mode:'history',
    routes: [{
        path: '/', 
        component: Home
    }, {
        path: '/About',
        component: () => import('../pages/About.vue')
    },{
        path:'/Detail',
        component: () => import('../pages/Detail.vue')
    }]
})

export default router